import Axios from '../libs/axios'

/**
 *
 * [findByDepartmentUUID 获取部门及其子部门列表]
 * @param  {[type]} options.id [description]
 * @return {[type]}            [description]
 */
export const findByDepartmentUUID = ({uuid, start, size}) => {
  return new Promise((resolve, reject) => Axios.commToServer({uuid, start, size}, '/equipment/findByDepartmentUUID.form', resolve, reject))
}
